package com.puppy.service;

import com.puppy.pojo.Emp;
import com.puppy.pojo.EmpQueryParam;
import com.puppy.pojo.LoginInfo;

import java.util.List;

public interface EmpService {

    void deleteByIds(List<Integer> ids);

    //    Object page(Integer page, Integer pageSize,  String name, Integer gender,LocalDate begin,LocalDate end);

    Object page(EmpQueryParam empQueryParam);

    void save(Emp emp);

    Object getById(Integer id);

    void update(Emp emp);

    LoginInfo logByNameAndPassword(Emp emp);
}
